KtorWriteStandardCrudRepo

class KtorWriteStandardCrudRepo<ObjectType, IdType, InputValue>(baseUrl: String, unifiedRequester: UnifiedRequester, objectsSerializer: KSerializer<ObjectType>, objectsNullableSerializer: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>) : WriteStandardCRUDRepo<ObjectType, IdType, InputValue>

Constructors

KtorWriteStandardCrudRepo
Link copied to clipboard
fun <ObjectType, IdType, InputValue> KtorWriteStandardCrudRepo(baseUrl: String, client: <ERROR CLASS>, objectsSerializer: KSerializer<ObjectType>, objectsSerializerNullable: KSerializer<ObjectType?>, inputsSerializer: KSerializer<InputValue>, idsSerializer: KSerializer<IdType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)

Functions

create
Link copied to clipboard
open suspend override fun create(values: List<InputValue>): List<ObjectType>
deleteById
Link copied to clipboard
open suspend override fun deleteById(ids: List<IdType>): <ERROR CLASS>
update
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValue>>): List<ObjectType>
open suspend override fun update(id: IdType, value: InputValue): ObjectType?

Properties

deletedObjectsIdsFlow
Link copied to clipboard
open override val deletedObjectsIdsFlow: Flow<IdType>
newObjectsFlow
Link copied to clipboard
open override val newObjectsFlow: Flow<ObjectType>
updatedObjectsFlow
Link copied to clipboard
open override val updatedObjectsFlow: Flow<ObjectType>